/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ems.dao;

import java.util.List;
import java.util.Map;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.ems.entity.EmsStudent;

/**
 * 学员DAO接口
 * @author zad
 * @version 2018-01-25
 */
@MyBatisDao
public interface EmsStudentDao extends CrudDao<EmsStudent> {
	
	// 查询学员序号seq，用于生成学号，yyyy+区域短码+seq
	public String qryStudentSeq(Map<String,String> param);
	
	// 校验学员是否存在
	public List<EmsStudent> checkExists(EmsStudent emsStudent);
	
	// 创建下月学号生成序列
	public void createStuNoSeq(Map<String,String> param);
	
	// 删除上月学号生成序列
	public void dropStuNoSeq(Map<String,String> param);
	
}